<template>
  <div class="header">
    <span class="city">城市选择</span>
    <router-link to='/'>
      <div class="back-icon">
        <span class="iconfont icon-back">&#xe624;</span>
      </div>
    </router-link>
  </div>
</template>
<script>
export default {};
</script>
<style lang="stylus" scoped>
@import '~styles/varibles.styl';

.header {
  overflow: hidden;
  line-height: 0.86rem;
  height: 0.86rem;
  color: #fff;
  background-color: $bgColor;
  text-align: center;
  position: relative;

  .city {
    font-size: 0.32rem;
  }

  .back-icon {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 0.64rem;
    font-size: 0.4rem;
    color: #fff;
  }
}
</style>